import { Base } from '../utils/base.js';
class Message extends Base {
    constructor() {
        super();
    }
	getMessageboardLists(callback, params) {
	    var that = this;
	    var param = {
	        url: 'addons/zpwxsys/v1.Messageboard/lists',
	        type: 'post',
	        data: params,
	        sCallback: function (data) {
	            data = data;
	            if (callback) {
	                callback(data);
	            }
	        }
	    };
	    this.request(param);
	}
	getMessageboardAdd(callback, params) {
	    var that = this;
	    var param = {
	        url: 'addons/zpwxsys/v1.Messageboard/add',
	        type: 'post',
	        data: params,
	        sCallback: function (data) {
	            data = data;
	            if (callback) {
	                callback(data);
	            }
	        }
	    };
	    this.request(param);
	}
}
export { Message };
